<service filepath="service/comp/wxapi/miniapp.service.m">
	<uses/>
	<action name="jscode2session" impl="">
		<label language="zh-CN">获取openID信息</label>
		<description language="zh-CN">获取openID信息</description>
		<param>
			<field name="code" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/jscode2session">
				<param name="code" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="decryptData" impl="">
		<label language="zh-CN">小程序加密数据解密</label>
		<description language="zh-CN">小程序加密数据解密</description>
		<param>
			<field name="encryptedData" dataType="String" requestType="basic"/>
			<field name="iv" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/decrypt">
				<param name="encryptedData" kind="RequestParam"/>
				<param name="iv" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="miniappUserInfo" impl="">
		<label language="zh-CN">解密用户信息</label>
		<description language="zh-CN">解密用户信息</description>
		<param>
			<field name="encryptedData" dataType="String" requestType="basic"/>
			<field name="iv" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/decrypt/userInfo">
				<param name="encryptedData" kind="RequestParam"/>
				<param name="iv" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="getPhoneNumber" impl="">
		<label language="zh-CN">解密用户手机号信息</label>
		<description language="zh-CN">解密用户手机号信息</description>
		<param>
			<field name="encryptedData" dataType="String" requestType="basic"/>
			<field name="iv" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/decrypt/phoneNumber">
				<param name="encryptedData" kind="RequestParam"/>
				<param name="iv" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="getwxacode" impl="">
		<label language="zh-CN">生成小程序码，有限</label>
		<description language="zh-CN">生成小程序码，有限</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/getwxacode">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="getwxacodeunlimit" impl="">
		<label language="zh-CN">生成小程序码，无限</label>
		<description language="zh-CN">生成小程序码，无限</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/getwxacodeunlimit">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="createwxaqrcode" impl="">
		<label language="zh-CN">生成小程序二维码</label>
		<description language="zh-CN">生成小程序二维码</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/createwxaqrcode">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="templateList" impl="">
		<label language="zh-CN">获取小程序账号下已存在的模板消息列表</label>
		<description language="zh-CN">获取小程序账号下已存在的模板消息列表</description>
		<param>
			<field name="pageNum" dataType="Integer" requestType="basic"/>
			<field name="pageSize" dataType="Integer" requestType="basic"/>
			<field name="group" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/templates">
				<param name="pageNum" kind="RequestParam" defaultValue="1" required="false"/>
				<param name="pageSize" kind="RequestParam" defaultValue="20" required="false"/>
				<param name="group" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="templateDel" impl="">
		<label language="zh-CN">小程序模板消息删除</label>
		<description language="zh-CN">小程序模板消息删除</description>
		<param>
			<field name="templateId" dataType="String" requestType="basic"/>
			<field name="group" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/template">
				<param name="templateId" kind="PathVariable"/>
				<param name="group" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="templateSend" impl="">
		<label language="zh-CN">小程序模板消息发送</label>
		<description language="zh-CN">小程序模板消息发送</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/template">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="wxeventGet" impl="">
		<label language="zh-CN">微信小程序消息推送事件</label>
		<description language="zh-CN">微信小程序消息推送时间</description>
		<param/>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/event">
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="wxeventPost" impl="">
		<label language="zh-CN">微信小程序消息推送事件</label>
		<description language="zh-CN">微信小程序消息推送事件</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/event">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="createCard" impl="">
		<label language="zh-CN">卡券创建</label>
		<description language="zh-CN">卡券创建</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/card">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="createSignature" impl="">
		<label language="zh-CN">卡券签名</label>
		<description language="zh-CN">卡券签名</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/card/signature">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="decryptCode" impl="">
		<label language="zh-CN">卡券code解码</label>
		<description language="zh-CN">卡券code解码</description>
		<param>
			<field name="encryptCode" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/card/decrypt/code">
				<param name="encryptCode" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="consumeCard" impl="">
		<label language="zh-CN">卡券核销</label>
		<description language="zh-CN">卡券核销</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/card/consume">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="cardDetail" impl="">
		<label language="zh-CN">卡券详情</label>
		<description language="zh-CN">卡券详情</description>
		<param>
			<field name="cardId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/card/detail">
				<param name="cardId" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="cardDelete" impl="">
		<label language="zh-CN">卡券删除</label>
		<description language="zh-CN">卡券删除</description>
		<param>
			<field name="cardId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="DELETE" url="/card">
				<param name="cardId" kind="PathVariable"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="cardCodeQuery" impl="">
		<label language="zh-CN">卡券code查询</label>
		<description language="zh-CN">卡券code查询</description>
		<param>
			<field name="code" dataType="String" requestType="basic"/>
			<field name="cardId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/card/code/query">
				<param name="code" kind="RequestParam"/>
				<param name="cardId" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
		
	<action name="addNearByPoi" impl="">
		<label language="zh-CN">附近：添加地点</label>
		<description language="zh-CN">附近：添加地点</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/nearby/poi">
				<param name="data" kind="RequestBody" />
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="pois" impl="">
		<label language="zh-CN">附近：查看地点列表</label>
		<description language="zh-CN">附近：查看地点列表</description>
		<param>
			<field name="pageNum" dataType="Integer" requestType="basic"/>
			<field name="pageSize" dataType="Integer" requestType="basic"/>
			<field name="group" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/nearby/pois">
				<param name="pageNum" kind="RequestParam" defaultValue="1"/>
				<param name="pageSize" kind="RequestParam" defaultValue="20"/>
				<param name="group" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="deleteNearbyPoi" impl="">
		<label language="zh-CN">附近：删除地点</label>
		<description language="zh-CN">附近：删除地点</description>
		<param>
			<field name="poiId" dataType="String" requestType="basic"/>
			<field name="group" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="DELETE" url="/nearby/poi">
				<param name="poiId" kind="PathVariable" />
				<param name="group" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="nearByshowStatus" impl="">
		<label language="zh-CN">附近：取消/展示附近小程序</label>
		<description language="zh-CN">附近：取消/展示附近小程序</description>
		<param>
			<field name="poiId" dataType="String" requestType="basic"/>
			<field name="status" dataType="Integer" requestType="basic"/>
			<field name="group" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="PUT" url="/nearby/showStatus">
				<param name="poiId" kind="RequestParam" />
				<param name="status" kind="RequestParam" />
				<param name="group" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="payNotify" impl="">
		<label language="zh-CN">支付成功通知</label>
		<description language="zh-CN">支付成功通知</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/notify">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="refundNotify" impl="">
		<label language="zh-CN">退款成功通知</label>
		<description language="zh-CN">退款成功通知</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/refund/notify">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="unifiedOrder" impl="">
		<label language="zh_CN">统一下单</label>
		<description language="zh-CN">统一下单</description>
		<param>
			<field name="orderData" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/unifiedOrder">
				<param name="orderData" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="queryOrder" impl="">
		<label language="zh_CN">订单查询</label>
		<description language="zh-CN">订单查询</description>
		<param>
			<field name="outTradeNo" dataType="String" requestType="basic"/>
			<field name="transactionId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/queryOrder">
				<param name="outTradeNo" kind="RequestParam"/>
				<param name="transactionId" kind="RequestParam" defaultValue="-1"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="closeOrder" impl="">
		<label language="zh_CN">订单关闭</label>
		<description language="zh-CN">订单关闭</description>
		<param>
			<field name="outTradeNo" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/closeOrder">
				<param name="outTradeNo" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="refund" impl="">
		<label language="zh_CN">申请退款</label>
		<description language="zh-CN">申请退款</description>
		<param>
			<field name="refundData" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/refund">
				<param name="refundData" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="refundQuery" impl="">
		<label language="zh_CN">退款查询</label>
		<description language="zh-CN">退款查询</description>
		<param>
			<field name="outTradeNo" dataType="String" requestType="basic"/>
			<field name="transactionId" dataType="String" requestType="basic"/>
			<field name="outRefundNo" dataType="String" requestType="basic"/>
			<field name="refundId" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/refund">
				<param name="outTradeNo" kind="RequestParam"/>
				<param name="transactionId" kind="RequestParam"/>
				<param name="outRefundNo" kind="RequestParam"/>
				<param name="refundId" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="downloadBill" impl="">
		<label language="zh_CN">对账单查询(下载)</label>
		<description language="zh-CN">对账单查询(下载)</description>
		<param>
			<field name="billDate" dataType="String" requestType="basic"/>
			<field name="billType" dataType="String" requestType="basic"/>
			<field name="tarType" dataType="String" requestType="basic"/>
			<field name="deviceInfo" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/downloadBill">
				<param name="billDate" kind="RequestParam" />
				<param name="billType" kind="RequestParam" defaultValue="ALL"/>
				<param name="tarType" defaultValue="GZIP" kind="RequestParam" />
				<param name="deviceInfo" defaultValue="-1" kind="RequestParam" />
			</request>
		</http>
	</action>
	
	<action name="entPay" impl="">
		<label language="zh_CN">企业付款至微信个人零钱账户</label>
		<description language="zh-CN">企业付款至微信个人零钱账户</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/entpay">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="queryEntPay" impl="">
		<label language="zh_CN">企业付款至微信个人零钱账户订单查询</label>
		<description language="zh-CN">企业付款至微信个人零钱账户订单查询</description>
		<param>
			<field name="partnerTradeNo" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/entpay">
				<param name="partnerTradeNo" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="entPayBank" impl="">
		<label language="zh_CN">企业付款至银行卡</label>
		<description language="zh-CN">企业付款至银行卡</description>
		<param>
			<field name="data" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/pay/entpay/bank">
				<param name="data" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="queryEntPayBank" impl="">
		<label language="zh_CN">企业付款至银行卡订单查询</label>
		<description language="zh-CN">企业付款至银行卡订单查询</description>
		<param>
			<field name="partnerTradeNo" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/pay/entpay/bank">
				<param name="partnerTradeNo" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="addTempMaterial" impl="">
		<label language="zh_CN">新增临时素材</label>
		<description language="zh-CN">新增临时素材</description>
		<param>
			<field name="materialVo" dataType="MaterialVo" requestType="quote"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="POST" url="/material/temp">
				<param name="materialVo" kind="RequestBody"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
	
	<action name="getTempMaterial" impl="">
		<label language="zh_CN">获取临时素材</label>
		<description language="zh-CN">获取临时素材</description>
		<param>
			<field name="mediaId" dataType="String" requestType="basic"/>
			<field name="group" dataType="String" requestType="basic"/>
		</param>
		<reply>
			<field name="result" dataType="String" resultType="basic"/>
		</reply>
		<http>
			<request method="GET" url="/material/temp">
				<param name="mediaId" kind="PathVariable"/>
				<param name="group" kind="RequestParam"/>
			</request>
			<reply>
				<headers>
				</headers>
				<status>
				</status>
			</reply>
		</http>
	</action>
</service>